//
//  EVDefaultAlertConentView.h
//  EVClub
//
//  Created by LiJieming on 15/7/27.
//  Copyright (c) 2015年 BitRice. All rights reserved.
//

#import "EVBaseView.h"

typedef NS_ENUM(NSUInteger, EVAlertIcon) {
    EVAlertIconNone,
    EVAlertIconWarning,
    EVAlertIconCustom,
};

@protocol TDAlertViewDelegate;
@interface EVDefaultAlertConentView : EVBaseView

@property (nonatomic,assign) BOOL showCloseButton;
@property (nonatomic,assign) NSTextAlignment textAlignment;
@property (weak, nonatomic) id<TDAlertViewDelegate> delegate;

- (instancetype)initWithTitle:(NSString *)title commitButton:(NSString *)commitButton cancelButton:(NSString *)cancelButton;

- (instancetype)initWithIcon:(EVAlertIcon)icon title:(NSString *)title commitButton:(NSString *)commitButton cancelButton:(NSString *)cancelButton;

- (instancetype)initWithIcon:(EVAlertIcon)icon title:(NSString *)title detail:(NSString *)detail commitButton:(NSString *)commitButton cancelButton:(NSString *)cancelButton;

- (instancetype)initWithIconImage:(UIImage *)iconImage title:(NSString *)title detail:(NSString *)detail commitButton:(NSString *)commitButton cancelButton:(NSString *)cancelButton;

- (instancetype)initWithIconImageUrl:(NSURL *)iconImageURL title:(NSString *)title detail:(NSString *)detail commitButton:(NSString *)commitButton cancelButton:(NSString *)cancelButton;

@end
